//
//  CBCChannelManager.m
//  CBCChannelControl
//
//  Created by 李雷川 on 2019/6/30.
//  Copyright © 2019 李雷川. All rights reserved.
//

#import "CBCChannelManager.h"
#import "CBCChannelModel.h"
@implementation CBCChannelManager
+(CBCChannelManager*)shared
{
    static CBCChannelManager *control = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        control = [CBCChannelManager new];

    });
    return control;
}

-(instancetype)init
{
    if (self == [super init]) {
        self.inUseItems = [[NSMutableArray alloc]initWithCapacity:0];
        self.unUseItems =  [[NSMutableArray alloc]initWithCapacity:0];
    }
    return self;
}

@end
